﻿using Ecommerce.Domain;
using Ecommerce.Domain.Dto;
using Ecommerce.Domain.Holiday;
using Ecommerce.Domain.User;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ecommerce.Services.Leaves
{
    public interface ILeaveServices
    {
        Task<List<Partment>> GetPartments();
        Task<int> Addleave(Leave leave);
        Task<List<Account>> GetRoles();
        Task<List<LeacPart>> GetLeaves(string Bname);
        Task<List<LeacPart>> GetLeavesId(int Lid);
        Task<int> leaveUpdate(int Lid, bool State);
    }
}
